package com.abocode.aichat;

import com.abocode.aichat.configuration.*;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Import;
import org.springframework.data.map.repository.config.EnableMapRepositories;

@SpringBootApplication
@Import({AppConfiguration.class
        ,AppMessengerConfiguration.class
        ,RedisConfiguration.class
        })
@ComponentScan({"com.abocode.aichat.*"})
@EntityScan("com.abocode.aichat.core.domain.entity")
@EnableMapRepositories("com.abocode.aichat.core.domain.repository")
public class ChatApplication {
    public static void main(String[] args) {
        SpringApplication.run(ChatApplication.class, args);
    }

}